#define _CRT_SECURE_NO_WARNINGS 1

#include<bits/stdc++.h> 

using namespace std;

int main()
{
    int a, c;
    char b, d;
    scanf("a=%d,b=%c,c=%d,d=%c", &a, &b, &c, &d);
    printf("%d %c %d %c", a, b, c, d);
    cout << endl;
    return 0;
}